/**
 * 
 */
package hu.gbalage.owl.editor.internal;

import java.io.OutputStream;
import java.io.Writer;
import java.net.URI;

import org.eclipse.core.resources.IFile;
import org.semanticweb.owl.io.OWLOntologyOutputTarget;

/**
 * @author balage
 *
 */
public class IFileOWLOutputTarget implements OWLOntologyOutputTarget {

	final IFile file;
	
	public IFileOWLOutputTarget(IFile file){
		this.file = file;
	}
	
	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#getOutputStream()
	 */
	public OutputStream getOutputStream() {
		/*PipedInputStream in = new PipedInputStream();
		  PipedOutputStream out = new PipedOutputStream(in);
		  new Thread(
		    new Runnable(){
		      public void run(){
		        file.setC
		      }
		    }
		  ).start();
		  class2.processDataFromInputStream(in);
		*/
		return null;
	}

	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#getPhysicalURI()
	 */
	public URI getPhysicalURI() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#getWriter()
	 */
	public Writer getWriter() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#isOutputStreamAvailable()
	 */
	public boolean isOutputStreamAvailable() {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#isPhysicalURIAvailable()
	 */
	public boolean isPhysicalURIAvailable() {
		// TODO Auto-generated method stub
		return false;
	}

	/* (non-Javadoc)
	 * @see org.semanticweb.owl.io.OWLOntologyOutputTarget#isWriterAvailable()
	 */
	public boolean isWriterAvailable() {
		// TODO Auto-generated method stub
		return false;
	}

}
